<div id="scrollto">
    <a onclick="window.scrollTo(0,0);return false" id="totop"><em>◆</em><i>◆</i></a>
</div>
<script type="text/javascript">
	window.onscroll = function() {
		document.documentElement.scrollTop+document.body.scrollTop>100?document.getElementById("scrollto").style.display="block":
		document.getElementById("scrollto").style.display="none";
	}
</script>
</body>
</html>